package com.chinaunicom.tour.sys.util;

 
public class ObjectRestResponse<T> extends BaseResponse {

    T data;
    boolean rel;
    
    public int resultCode;

    public int getResultCode() {
        return resultCode;
    }
   
    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }
    
    public boolean isRel() {
        return rel;
    }

    public void setRel(boolean rel) {
        this.rel = rel;
    }


    @SuppressWarnings("rawtypes")
	public ObjectRestResponse rel(boolean rel) {
        this.setRel(rel);
        return this;
    }


    @SuppressWarnings("rawtypes")
	public ObjectRestResponse data(T data) {
        this.setData(data);
        return this;
    }
    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


}
